using StudentManagement.Domain.Entities;

namespace StudentManagement.Domain.Repositories;

public interface IClassRepository : IRepository<Class>
{
    Task<IEnumerable<Class>> GetClassesByGradeAsync(string grade);
    Task<IEnumerable<Class>> GetClassesByMajorAsync(string major);
    Task<IEnumerable<Class>> SearchClassesAsync(string keyword);
    Task<IEnumerable<Class>> GetClassesWithStudentsAsync();
}